package blue.mqtt4j.core.exception;

/**
 * @author Jin Zheng
 * @since 2020-03-22
 */
public enum ErrorCode
{


	SYSTEM_ERROR(500000, "System Error");

	private int code;
	private String message;

	ErrorCode(int code, String message)
	{
		this.code = code;
		this.message = message;
	}

	public int getCode()
	{
		return code;
	}

	public String getMessage()
	{
		return message;
	}
}
